<script lang="ts" setup>
    import router from '@/router';
import { ref } from 'vue'
    const input = ref('')
    const password = ref('')



    </script>


<template>
  <el-container>
    <el-header></el-header>
    <!-- 卡片界面 -->
    <el-card style="max-width: 480px;margin-left: 300px;">
      <template #header>Welcom to Login</template>
      <!-- 注册登录 -->
      
      <el-input
      class="index"
      v-model="input"
          placeholder="Account"
          clearable
          />
          <el-input
          class="index"
          v-model="password"
          type="password"
          placeholder="Password"
          show-password
          />
          <el-button @click="submit()" 
          class="index"
          type="primary">
          注册
        </el-button>
          

  </el-card>
    </el-container>

</template>

<style>
.index{
  width: 240px;
 margin-left:100px;
  margin-top:15px;
  height:40px
}

</style>


